<!DOCTYPE html>
<!-- saved from url=(0047)https://weiop.taozuike.com/a/p/org-suggest.html -->
<html lang="zh-CN">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>联系列表</title>
    <meta name="viewport" content="width=750, user-scalable=no">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="./联系列表_files/reset.css">
    <style>
    body {
        background: #ececec;
        margin: 0 auto;
        padding-top: 30px;
    }
    
    .card {
        font-size: 36px;
        width: 90%;
        word-break: break-all;
        background: #fff;
        margin: 0 auto 30px;
        padding: 15px;
        border: 1px solid #eee;
        -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
        -moz-box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
    }
    
    .contact {
        color: #f7b13e;
        padding-top: 30px;
        font-weight: bold;
    }
    
    .txt {
        color: #f7b13e;
        font-size: 30px;
        font-weight: bold;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .time {
        padding-top: 30px;
        color: #f7b13e;
        font-size: 27px;
        font-weight: bold;
    }
    
    .time-item {
        font-size: 16px;
    }
    
    #boxs {
        width: 100%;
        height: 500px;
        position: fixed;
        bottom: 0;
        overflow: scroll;
        box-sizing: border-box;
        border: 2px solid gray;
    }
    
    #box {
        position: relative;
    }
    </style>
</head>

<body>
    <div class="container">
        <div id="boxs">
            <div id="box">
                <div class="card">
                    <p>1919公司、壹加玖定制平台，有意向合作，打造中国第一酒水定制销售平台</p>
                    <p class="contact ">联系方式：<span class="phone">186 8528 9988</span></p>
                    <p class="time">时间: <span class="time-item">2017-04-15 16:07:01</span></p>
                </div>
                <div class="card">
                    <p>新华联酒业法国进口葡萄酒 推广 品牌传播</p>
                    <p class="contact ">联系方式：<span class="phone">135 8171 1937</span></p>
                    <p class="time">时间: <span class="time-item">2017-03-22 14:51:12</span></p>
                </div>
                <div class="card">
                    <p>我是晋道酒业有限公司，公司想做个线上产品</p>
                    <p class="contact ">联系方式：<span class="phone">186 3550 1111</span></p>
                    <p class="time">时间: <span class="time-item">2017-03-22 14:00:17</span></p>
                </div>
                <div class="card">
                    <p>祁红发源地，国家级自然保护区牯牛降高山茶园祁红庄园基地——桶坑祁红。让李克老师带着一起成长！产品已经在必需商城上线！</p>
                    <p class="contact ">联系方式：<span class="phone">186 5590 0599</span></p>
                    <p class="time">时间: <span class="time-item">2017-03-22 13:36:05</span></p>
                </div>
                <div class="card">
                    <p>有意向了解，有意向合作，了解工具的具体功能</p>
                    <p class="contact ">联系方式：<span class="phone">138 4867 4111</span></p>
                    <p class="time">时间: <span class="time-item">2017-03-22 13:36:02</span></p>
                </div>
                <div class="card">
                    <p>合作-～。。。。。。。。。。 ！！！！！！！！
                    </p>
                    <p class="contact ">联系方式：<span class="phone">139 1900 1339</span></p>
                    <p class="time">时间: <span class="time-item">2017-03-22 13:30:36</span></p>
                </div>
                <div class="card">
                    <p>青海风青藏高原原生态名优产品，青稞原浆酒渠道合作</p>
                    <p class="contact ">联系方式：<span class="phone">132 0971 8008</span></p>
                    <p class="time">时间: <span class="time-item">2017-03-22 13:19:19</span></p>
                </div>
                <div class="card">
                    <p>白酒，啤酒，红酒，封坛酒，威海卫洞藏酒18106301000</p>
                    <p class="contact ">联系方式：<span class="phone">181 0630 1000</span></p>
                    <p class="time">时间: <span class="time-item">2017-03-22 13:17:37</span></p>
                </div>
                <div class="card">
                    <p>你好请问 李克老师糖酒会的课程怎么报名？</p>
                    <p class="contact ">联系方式：<span class="phone">186 4334 0777</span></p>
                    <p class="time">时间: <span class="time-item">2017-03-13 23:44:24</span></p>
                </div>
                <div class="card">
                    <p>我希望把我公司做大，做强怎么合作望李克老师指点</p>
                    <p class="contact ">联系方式：<span class="phone">139 7319 4313</span></p>
                    <p class="time">时间: <span class="time-item">2017-03-13 22:11:00</span></p>
                </div>
                <div class="card">
                    <p>四川绵竹白酒，定位模糊，想在网络平台突破</p>
                    <p class="contact ">联系方式：<span class="phone">186 8265 6172</span></p>
                    <p class="time">时间: <span class="time-item">2017-03-10 15:04:57</span></p>
                </div>
                <div class="card">
                    <p>太朴优选，做进口食品的，想了解具体合作的详情，比如合作方式，具体运用等。谢谢</p>
                    <p class="contact ">联系方式：<span class="phone">189 9691 5341</span></p>
                    <p class="time">时间: <span class="time-item">2017-03-10 10:58:49</span></p>
                </div>
                <div class="card">
                    <p>基层图文广告制作商，曾做过58、百度推广，效果曾经不错，如今不行，终止合作。拟扩展项目，试水蜂蜜产品，同时对烟酒茶感兴趣，望得到指导。</p>
                    <p class="contact ">联系方式：<span class="phone">139 7107 8197</span></p>
                    <p class="time">时间: <span class="time-item">2017-03-10 07:40:17</span></p>
                </div>
                <div class="card">
                    <p>经销酒预包装食品，海产品，海参，带鱼，海带，紫莱，连云港市明高酒业。</p>
                    <p class="contact ">联系方式：<span class="phone">157 0519 1919</span></p>
                    <p class="time">时间: <span class="time-item">2017-03-09 23:16:08</span></p>
                </div>
                <div class="card">
                    <p>收银机应付金额二维码智能适配器开发，湖北宜昌盛开特电气李永华。</p>
                    <p class="contact ">联系方式：<span class="phone">133 4353 6788</span></p>
                    <p class="time">时间: <span class="time-item">2017-03-09 21:52:13</span></p>
                </div>
                <div class="card">
                    <p>我是崔海龙， 我就是来刷存在感，我觉得宝哲是个大好人！</p>
                    <p class="contact ">联系方式：<span class="phone">138 0013 8000</span></p>
                    <p class="time">时间: <span class="time-item">2017-03-09 19:59:51</span></p>
                </div>
                <div class="card">
                    <p>黑老师还我麻籽，黑老师还我麻籽，黑老师还我麻籽，黑老师还我麻籽！</p>
                    <p class="contact ">联系方式：<span class="phone">139 1052 0092</span></p>
                    <p class="time">时间: <span class="time-item">2017-03-09 19:58:11</span></p>
                </div>
                <div class="card">
                    <p>啊啊啊哦啊啊啊哦哦，啊啊啊啊哦诶，这回看看能不能提交，边开会边给你们做测试，当当当来上海请吃饭</p>
                    <p class="contact ">联系方式：<span class="phone">135 8195 9565</span></p>
                    <p class="time">时间: <span class="time-item">2017-03-09 17:07:30</span></p>
                </div>
                <div class="card">
                    <p>testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest</p>
                    <p class="contact ">联系方式：<span class="phone">139 1052 0092</span></p>
                    <p class="time">时间: <span class="time-item">2017-03-09 17:06:45</span></p>
                </div>
                <div class="card">
                    <p>testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest</p>
                    <p class="contact ">联系方式：<span class="phone">139 1022 0092</span></p>
                    <p class="time">时间: <span class="time-item">2017-03-09 17:05:42</span></p>
                </div>
                <div class="card">
                    <p>testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest</p>
                    <p class="contact ">联系方式：<span class="phone">139 1052 0092</span></p>
                    <p class="time">时间: <span class="time-item">2017-03-09 17:05:22</span></p>
                </div>
                <div class="card">
                    <p>测试菜市场所产生的从测试的测试的测试的测试的测试的测试的测试的测试的</p>
                    <p class="contact ">联系方式：<span class="phone">186 0046 7611</span></p>
                    <p class="time">时间: <span class="time-item">2017-03-09 17:05:15</span></p>
                </div>
                <div class="card">
                    <p>负责人酒量太好，20字补丁补丁补丁补丁补丁补丁补丁补丁</p>
                    <p class="contact ">联系方式：<span class="phone">186 0102 2314</span></p>
                    <p class="time">时间: <span class="time-item">2017-03-09 08:11:20</span></p>
                </div>
                <div class="card">
                    <p>我希望客户吃饭的时候用手机一键下单并付款，我方接单送货，全程半个小时完成！</p>
                    <p class="contact ">联系方式：<span class="phone">137 0779 4930</span></p>
                    <p class="time">时间: <span class="time-item">2017-03-09 00:21:22</span></p>
                </div>
                <div class="card">
                    <p>很多激动激动激动呢大男大女当你发怒发怒发怒</p>
                    <p class="contact ">联系方式：<span class="phone">189 1027 4231</span></p>
                    <p class="time">时间: <span class="time-item">2017-03-03 15:16:47</span></p>
                </div>
                <div class="card">
                    <p>好想投资你们！！！！！！！！！！！！！！</p>
                    <p class="contact ">联系方式：<span class="phone">158 1234 5678</span></p>
                    <p class="time">时间: <span class="time-item">2017-03-03 15:10:17</span></p>
                </div>
                <div class="card">
                    <p>三年的散客价阿森纳想看你那四块的那卡萨诺的卡萨诺达是看你大叔控NDSA口呢打算；看你打；</p>
                    <p class="contact ">联系方式：<span class="phone">135 8012 9937</span></p>
                    <p class="time">时间: <span class="time-item">2017-03-03 13:21:49</span></p>
                </div>
                <div class="card">
                    <p>试试效果再试试效果 写上20个字 新手教程拿手机开车能点出坑差不多</p>
                    <p class="contact ">联系方式：<span class="phone">135 8012 9927</span></p>
                    <p class="time">时间: <span class="time-item">2017-03-03 13:19:34</span></p>
                </div>
            </div>
            <p class="txt card" style="display: none;">没有更多数据</p>
        </div>
    </div>
    <script src="./联系列表_files/jquery.min.js"></script>
    <script type="text/javascript">
    var datajson1 = '{"code":1,"msg":"success","context":[{"activityId":"ORGSW00001","openid":null,"appid":null,"createTime":"2017-03-09 17:05:22","updateTime":"2017-03-09 17:05:22","mobile":"13910520092","title":"","content":"testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest"},{"activityId":"ORGSW00001","openid":null,"appid":null,"createTime":"2017-03-09 17:05:15","updateTime":"2017-03-09 17:05:15","mobile":"18600467611","title":"","content":"测试菜市场所产生的从测试的测试的测试的测试的测试的测试的测试的测试的"},{"activityId":"ORGSW00001","openid":null,"appid":null,"createTime":"2017-03-09 08:11:20","updateTime":"2017-03-09 08:11:20","mobile":"18601022314","title":"","content":"负责人酒量太好，20字补丁补丁补丁补丁补丁补丁补丁补丁"},{"activityId":"ORGSW00001","openid":null,"appid":null,"createTime":"2017-03-09 00:21:22","updateTime":"2017-03-09 00:21:22","mobile":"13707794930","title":"","content":"我希望客户吃饭的时候用手机一键下单并付款，我方接单送货，全程半个小时完成！"},{"activityId":"ORGSW00001","openid":null,"appid":null,"createTime":"2017-03-03 15:16:47","updateTime":"2017-03-03 15:16:47","mobile":"18910274231","title":"","content":"很多激动激动激动呢大男大女当你发怒发怒发怒"},{"activityId":"ORGSW00001","openid":null,"appid":null,"createTime":"2017-03-03 15:10:17","updateTime":"2017-03-03 15:10:17","mobile":"15812345678","title":"","content":"好想投资你们！！！！！！！！！！！！！！"},{"activityId":"ORGSW00001","openid":"oQvQqvytaO57qM-tBdKG7e-urNNA","appid":"wx12bfac6984f37216","createTime":"2017-03-03 13:21:49","updateTime":"2017-03-03 13:21:49","mobile":"13580129937","title":"","content":"三年的散客价阿森纳想看你那四块的那卡萨诺的卡萨诺达是看你大叔控NDSA口呢打算；看你打；"},{"activityId":"ORGSW00001","openid":"oQvQqvytaO57qM-tBdKG7e-urNNA","appid":"wx12bfac6984f37216","createTime":"2017-03-03 13:19:34","updateTime":"2017-03-03 13:19:34","mobile":"13580129927","title":"","content":"试试效果再试试效果  写上20个字  新手教程拿手机开车能点出坑差不多"}],"systemTime":1496800819492}'
    var datajson2 = '{"code":1,"msg":"success","context":[{"activityId":"ORGSW00001","openid":null,"appid":null,"createTime":"2017-03-09 17:05:22","updateTime":"2017-03-09 17:05:22","mobile":"13910520092","title":"","content":"testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest"},{"activityId":"ORGSW00001","openid":null,"appid":null,"createTime":"2017-03-09 17:05:15","updateTime":"2017-03-09 17:05:15","mobile":"18600467611","title":"","content":"测试菜市场所产生的从测试的测试的测试的测试的测试的测试的测试的测试的"},{"activityId":"ORGSW00001","openid":null,"appid":null,"createTime":"2017-03-09 08:11:20","updateTime":"2017-03-09 08:11:20","mobile":"18601022314","title":"","content":"负责人酒量太好，20字补丁补丁补丁补丁补丁补丁补丁补丁"},{"activityId":"ORGSW00001","openid":null,"appid":null,"createTime":"2017-03-09 00:21:22","updateTime":"2017-03-09 00:21:22","mobile":"13707794930","title":"","content":"我希望客户吃饭的时候用手机一键下单并付款，我方接单送货，全程半个小时完成！"},{"activityId":"ORGSW00001","openid":null,"appid":null,"createTime":"2017-03-03 15:16:47","updateTime":"2017-03-03 15:16:47","mobile":"18910274231","title":"","content":"很多激动激动激动呢大男大女当你发怒发怒发怒"},{"activityId":"ORGSW00001","openid":null,"appid":null,"createTime":"2017-03-03 15:10:17","updateTime":"2017-03-03 15:10:17","mobile":"15812345678","title":"","content":"好想投资你们！！！！！！！！！！！！！！"},{"activityId":"ORGSW00001","openid":"oQvQqvytaO57qM-tBdKG7e-urNNA","appid":"wx12bfac6984f37216","createTime":"2017-03-03 13:21:49","updateTime":"2017-03-03 13:21:49","mobile":"13580129937","title":"","content":"三年的散客价阿森纳想看你那四块的那卡萨诺的卡萨诺达是看你大叔控NDSA口呢打算；看你打；"},{"activityId":"ORGSW00001","openid":"oQvQqvytaO57qM-tBdKG7e-urNNA","appid":"wx12bfac6984f37216","createTime":"2017-03-03 13:19:34","updateTime":"2017-03-03 13:19:34","mobile":"13580129927","title":"","content":"试试效果再试试效果  写上20个字  新手教程拿手机开车能点出坑差不多"}],"systemTime":1496800819492}'
    var datajson3 = '{"code":1,"msg":"success","context":[{"activityId":"ORGSW00001","openid":null,"appid":null,"createTime":"2017-03-09 17:05:22","updateTime":"2017-03-09 17:05:22","mobile":"13910520092","title":"","content":"testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest"},{"activityId":"ORGSW00001","openid":null,"appid":null,"createTime":"2017-03-09 17:05:15","updateTime":"2017-03-09 17:05:15","mobile":"18600467611","title":"","content":"测试菜市场所产生的从测试的测试的测试的测试的测试的测试的测试的测试的"},{"activityId":"ORGSW00001","openid":null,"appid":null,"createTime":"2017-03-09 08:11:20","updateTime":"2017-03-09 08:11:20","mobile":"18601022314","title":"","content":"负责人酒量太好，20字补丁补丁补丁补丁补丁补丁补丁补丁"},{"activityId":"ORGSW00001","openid":null,"appid":null,"createTime":"2017-03-09 00:21:22","updateTime":"2017-03-09 00:21:22","mobile":"13707794930","title":"","content":"我希望客户吃饭的时候用手机一键下单并付款，我方接单送货，全程半个小时完成！"},{"activityId":"ORGSW00001","openid":null,"appid":null,"createTime":"2017-03-03 15:16:47","updateTime":"2017-03-03 15:16:47","mobile":"18910274231","title":"","content":"很多激动激动激动呢大男大女当你发怒发怒发怒"},{"activityId":"ORGSW00001","openid":null,"appid":null,"createTime":"2017-03-03 15:10:17","updateTime":"2017-03-03 15:10:17","mobile":"15812345678","title":"","content":"好想投资你们！！！！！！！！！！！！！！"},{"activityId":"ORGSW00001","openid":"oQvQqvytaO57qM-tBdKG7e-urNNA","appid":"wx12bfac6984f37216","createTime":"2017-03-03 13:21:49","updateTime":"2017-03-03 13:21:49","mobile":"13580129937","title":"","content":"三年的散客价阿森纳想看你那四块的那卡萨诺的卡萨诺达是看你大叔控NDSA口呢打算；看你打；"},{"activityId":"ORGSW00001","openid":"oQvQqvytaO57qM-tBdKG7e-urNNA","appid":"wx12bfac6984f37216","createTime":"2017-03-03 13:19:34","updateTime":"2017-03-03 13:19:34","mobile":"13580129927","title":"","content":"试试效果再试试效果  写上20个字  新手教程拿手机开车能点出坑差不多"}],"systemTime":1496800819492}'
    var data1 = JSON.parse(datajson1)
    var data2 = JSON.parse(datajson2)
    var data3 = JSON.parse(datajson3)
    var datas = [data1, data2, data3] //模拟数据
    </script>
    <script>
    // 手机格式
    function formatTelNum(tel) {
        var a = tel.slice(0, 3);
        var b = tel.slice(3, 7);
        var c = tel.slice(7, 11);
        return a + ' ' + b + ' ' + c;
    }
 

    function fun_show1(data, bolean) {
        console.log(bolean)
        if (!bolean) {
            $('.txt').html('没有更多数据').show();
            return;
        }

        $('.txt').show();
        var commentList = []; // 获取的参数数组
        if (data.code === 1) {
            commentList = data.context;
            if (commentList.length > 0) {
                var _html = '';
                for (var i = 0; i < commentList.length; i++) {
                    _html += '<div class="card"><p>' + commentList[i].content + '</p><p class="contact ">联系方式：<span class="phone">' + formatTelNum(commentList[i].mobile) + '</span></p><p class="time">时间: <span class="time-item">' + commentList[i].createTime + '</span></p></div>';
                }

                $('#box').append(_html);
                $('.txt').hide();
            } else {
                // 数据已获取全部
            }
        } else {
            //数据错误
            alert(data.msg);
        }

    }
    </script>
    <script type="text/javascript">
    function infinite(obj) {
        fatherId = obj.fatherId
        childId = obj.childId
        triggerDistance = obj.triggerDistance
        datas = obj.datas
        callback = obj.callback


        var isLoading = false;
        var isEnd = false;
        i = 1;

        function fetchData() {

            var distance = document.getElementById(childId).getBoundingClientRect().bottom - window.innerHeight;
            console.log('滚动状态', i++, isLoading, isEnd, distance, triggerDistance)
            if (!isLoading && !isEnd && distance < triggerDistance) {
                isLoading = true;

                var data = datas.shift();
                if (data) {
                    console.log(data);
                    callback(data, true);
                    isLoading = false;
                } else {
                    isEnd = true;
                    callback(data, false);
                }

            }


        }
        document.getElementById(fatherId).addEventListener('scroll', fetchData);
    }
    //{
    //     fatherId: 滚动父容器,
    //     childId: 滚动内容,
    //     triggerDistance:距底部距离 ,
    //     datas: 数据,
    //     callback: 回调函数
    // }
    infinite({
        fatherId: 'boxs',
        childId: 'box',
        triggerDistance: 1000,
        datas: datas,
        callback: fun_show1
    })
    </script>
</body>

</html>
